﻿<UserControl xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  xmlns:my="clr-namespace:VAdvantage.Panels"  x:Class="VAdvantage.Panels.ADTreePanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit">
    <toolkit:DockPanel HorizontalAlignment="Left" Margin="1" Name="dockPanel1"  >
        
        <my:TreeSearchPanel x:Name="pnlSerach"  toolkit:DockPanel.Dock="Top" Height="40" />
        <CheckBox Name="chkExpand" toolkit:DockPanel.Dock="Bottom" Content="IsExpanded" VerticalAlignment="Bottom"  Height="25"/>
        <ScrollViewer Padding="1"  VerticalAlignment="Stretch" VerticalScrollBarVisibility="Auto" HorizontalAlignment="Stretch" HorizontalScrollBarVisibility="Auto" Background="{x:Null}">
            <sdk:TreeView Name="tree"  BorderBrush="{x:Null}" >
            </sdk:TreeView>
        </ScrollViewer>
    </toolkit:DockPanel>

</UserControl>
